<template>
  <div class="hero-carousel">
    <el-carousel height="400px">
      <el-carousel-item v-for="item in items" :key="item.id">
        <img :src="item.imageUrl" :alt="item.alt" class="carousel-image" />
      </el-carousel-item>
    </el-carousel>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'

// Placeholder data
const items = ref([
  { id: 1, imageUrl: 'https://via.placeholder.com/1920x500/667eea/ffffff?text=Promotion+1', alt: 'Promotion 1' },
  { id: 2, imageUrl: 'https://via.placeholder.com/1920x500/764ba2/ffffff?text=New+Arrivals', alt: 'New Arrivals' },
  { id: 3, imageUrl: 'https://via.placeholder.com/1920x500/89f7fe/333333?text=Special+Offer', alt: 'Special Offer' },
])
</script>

<style scoped>
.hero-carousel {
  margin-bottom: 2rem;
}
.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
</style>
